<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class SystemConfig extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'system_configs';

    public $fillable = ['name','slug','content','mark'];

    protected $casts = [
        'content' => 'json', // 声明json类型
    ];
    
}
